module.exports = function(grunt) {

  grunt.initConfig({
    pkg: grunt.file.readJSON('package.json'),
    coffee:{
      compile: {
        files: {
          'dist/javascript/*': 'src/coffeescript/*' 
        }
      }
    },
    jade:{
      options:{
        pretty:true
      },
      compile: {
        files: {
          "dist/html/preboot/pygments.html": ["src/jade/preboot/pygments.jade"]
        }
      }
    },

    less: {
      compile: {
        files: {
          "dist/css/preboot/pygments.css": "src/less/preboot/pygments.less"
        }
      }
    },
    watch: {
      files: 'src',
      tasks: ['less', 'coffee', 'jade']
    }
  });

  grunt.loadNpmTasks('grunt-contrib-coffee');
  grunt.loadNpmTasks('grunt-contrib-less');
  grunt.loadNpmTasks('grunt-contrib-jade');
  grunt.loadNpmTasks('grunt-contrib-watch');
  grunt.registerTask('default', ['less', 'coffee', 'jade','watch']);

};